package com.ship.dispatch.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ship.dispatch.model.SpArrange;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ship.dispatch.model.Vo.CommonDataVo;
import com.ship.dispatch.model.Vo.SpArrangeSourceRateVo;
import com.ship.dispatch.model.Vo.SpArrangeStatisticsVo;
import com.ship.dispatch.model.Vo.SpArrangeVo;
import com.ship.dispatch.model.dto.SpArrangePageDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author zhangyh
* @description 针对表【sp_arrange(货船排布)】的数据库操作Mapper
* @createDate 2023-11-03 10:17:22
* @Entity com.ship.dispatch.model.SpArrange
*/
public interface SpArrangeMapper extends BaseMapper<SpArrange> {

    Page<SpArrangeVo> getPage(Page page, @Param(value = "dto") SpArrangePageDto pageDto);

    SpArrangeStatisticsVo topStatistics();

    List<CommonDataVo> getDisCount();

    List<SpArrangeSourceRateVo> getSourceCount();

    List<SpArrangeVo> getNewestArrangeListBySchemeNo();
}




